package com.programming.forum.services;

import com.programming.forum.model.ArticleReply;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 22479
 * Date: 2023-11-12
 * Time: 17:43
 */
public interface IArticleReplyService {

    /**
     * 新怎帖子回复
     * @param articleReply
     */
    void create(ArticleReply articleReply);

    /**
     * 根据帖子Id查询所有回复
     * @param articleId 帖子Id
     * @return
     */
    List<ArticleReply> selectByArticleId( Long articleId);
}
